package com.ruoyi.eam.mapper;

import java.util.List;
import com.ruoyi.eam.doman.EamAllotH;

/**
 * 资产调拨Mapper接口
 *
 * @author xl
 * @date 2024-07-12
 */
public interface EamAllotHMapper
{
    /**
     * 查询资产调拨
     *
     * @param allotId 资产调拨主键
     * @return 资产调拨
     */
    public EamAllotH selectEamAllotHByAllotId(Long allotId);

    /**
     * 查询资产调拨列表
     *
     * @param eamAllotH 资产调拨
     * @return 资产调拨集合
     */
    public List<EamAllotH> selectEamAllotHList(EamAllotH eamAllotH);

    /**
     * 新增资产调拨
     *
     * @param eamAllotH 资产调拨
     * @return 结果
     */
    public int insertEamAllotH(EamAllotH eamAllotH);

    /**
     * 修改资产调拨
     *
     * @param eamAllotH 资产调拨
     * @return 结果
     */
    public int updateEamAllotH(EamAllotH eamAllotH);

    /**
     * 删除资产调拨
     *
     * @param allotId 资产调拨主键
     * @return 结果
     */
    public int deleteEamAllotHByAllotId(Long allotId);

    /**
     * 批量删除资产调拨
     *
     * @param allotIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteEamAllotHByAllotIds(Long[] allotIds);

    public List<EamAllotH> queryEamAllotHList();
}
